const cmd = [
  {
    tag: /第([\d]{1,})个菜单/gi,
    action: 'pageServer.goTo',
    type: 'page'
  },
  {
    tag: /(切换菜单|下一个菜单|下一个路由)/gi,
    exec: (app, params) => {
      app.pageServer.go(1)
    }
  },
  {
    tag: /(上一个菜单|上一个路由)/gi,
    exec: (app, params) => {
      app.pageServer.go(1)
    }
  },
  {
    tag: /(切换到|切换至)([\s\S\w\W]*)/gi,
    action: 'pageServer.goByNameText',
    type: 'page'
  }
]
export default cmd
